package org.example.web.fegin;

import org.example.web.CacheDoImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * Company 源辰信息
 *
 * @author navy
 * @date 2024/7/12
 * Email haijunzhou@hnit.edu.cn
 */
@FeignClient(value = "damai-cache", fallback = CacheDoImpl.class)
public interface CacheDo {

    @RequestMapping("queryByIndex")
    Map<String,Object> queryByIndex();

}
